<!DOCTYPE html>
<html>
<head>
	<title>document</title>
	<meta charset="utf-8">
	<script type="text/javascript">
		function Myad()
		{
			var ad_num =2;
			var n = (Math.floor(Math.random()*ad_num+1));
			switch(n){
				case 1:
				alert("第一个广告"+n);
				document.writeln('<script src=\"http:\/\/u.xcy8.com\/m\/?pid=210399&show_t=2\" type=\"text\/Javascript\"><\/script>');
				break;
				case 2:
				alert("第二个广告"+n);
				document.writeln('<script src=\"http:\/\/v.6dvip.com\/ge\/?s=50670\" type=\"text\/Javascript\"><\/script>');
				break;
				default:
				alert(n);
				break;
			}
		}
		Myad();
	</script>
</head>
<body>

</body>
</html>